<!DOCTYPE html>
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="renderer" content="webkit">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<link rel="shortcut icon" href="/favicon.ico">
		<link rel="stylesheet" type="text/css" href="css/style.css" />
		<title>娱乐</title>
	</head>

	<body>
		<div id="wrap">
			<div id="top">
				<div id="logo">
					<img class="logo" src="">
					<h1>entertainment</h1>
					<div id="kg-btn" class="">
						<input class='tgl tgl-flip' id='qieh' type='checkbox' />
						<label class='tgl-btn' data-tg-off='OFFICE' data-tg-on='HOME' for='qieh'></label>
					</div>
				</div>
			</div>
			<div id="main">
			<!-- 外网访问地址 -->
				<div id="app" class="app animated fadeInLeft">
					<ul>
						<li>
							<a href="/" target="_blank"><img class="shake" src="img/png/AppStore.png" /><strong>我的博客</strong></a>
						</li>
						<li>
							<a href="https://www.gejiba.com/" target="_blank"><img class="shake" src="img/png/iCloud-Drive.png" /><strong>云盘</strong></a>
						</li>
						<li>
							<a href="/musics" target="_blank"><img class="shake" src="img/png/Music.png" /><strong>聆听音乐</strong></a>
						</li>
						<li>
							<a href="https://music.mx42.club/" target="_blank"><img class="shake" src="img/png/wyy.png" /><strong>网易云音乐</strong></a>
						</li>
						<li>
							<a href="/xsp" target="_blank"><img class="shake" src="img/png/Photos.png" /><strong>视频欣赏</strong></a>
						</li>
						<li>
							<a href="https://www.jpysvip.net/" target="_blank"><img class="shake" src="img/png/Videos.png" /><strong>影视</strong></a>
						</li>
						<li>
							<a href="/ks" target="_blank"><img class="shake" src="img/png/ks.png" /><strong>快手视频</strong></a>
						</li>
						<li>
							<a href="/books" target="_blank"><img class="shake" src="img/png/FontExplorer-X.png" /><strong>书籍</strong></a>
						</li>
						<li>
							<a href="https://games.mx42.club/" target="_blank"><img class="shake" src="img/png/yx.png" /><strong>小游戏</strong></a>
						</li>
						<li>
							<a href="#" target="_blank"><img class="shake" src="img/png/Downloads.png" /><strong>我的文件</strong></a>
						</li>
						<li>
							<a href="#" target="_blank"><img class="shake" src="img/png/Podcats.png" /><strong>管理路由器</strong></a>
						</li>
						<li>
							<a href="/tv" target="_blank"><img class="shake" src="img/png/FaceTime.png" /><strong>电视直播</strong></a>
						</li>
					</ul>
				</div>
				<!-- 内网网访问地址 -->
				<div id="app1" class="app animated fadeInRight">
					<ul>
						<li>
							<a href="http://yuancheng.xunlei.com/" target="_blank"><img class="shake" src="img/png/Thunder.png" /><strong>迅雷远程</strong></a>
						</li>
					</ul>
				</div>
				<div style="clear: both;"></div>
			</div>
		</div>
		<div id="footer">
			<div class="footer-contents">
				<div class="links">
					<div class="line">
						</span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="copyright">Copyright © 2020 - 2021 Mx. 保留所有权利。</span></div>
				</div>
			</div>
		</div>
		<script src="js/jquery.min.js"></script>

		<script>
			//隐藏右键
			// document.oncontextmenu = function (event){
			//     if(window.event){
			//     event = window.event;
			//     }try{
			//     var the = event.srcElement;
			//     if (!((the.tagName == "INPUT" && the.type.toLowerCase() == "text") || the.tagName == "TEXTAREA")){
			//     return false;
			//     }
			//     return true;
			//     }catch (e){
			//     return false;
			//     }
			// }
		
			// debugger部分
				 setInterval(function() {
				 check();
				 }, 500);
				 var check = function() {
					 function doCheck(a) {
					 if (('' + a / a)['length'] !== 1 || a % 20 === 0) {
						 (function() {}['constructor']('debugger')());
					 } else {
						 (function() {}['constructor']('debugger')());
					 }
					 doCheck(++a);
					 }
					 try {
					 doCheck(0);
					} catch (err) {}
				 };
				 check();
		
				// ctrl+s保存
				document.onkeydown = function() {
					if ((e.ctrlKey) && (e.keyCode == 83)) { //ctrl+s
						return false;
					}
				}
				window.addEventListener("keydown", function(e) {
					//可以判断是不是mac，如果是mac,ctrl变为花键
					//event.preventDefault() 方法阻止元素发生默认的行为。
					if((e.key=='s'||e.key=='S')&&(navigator.platform.match("Mac") ? e.metaKey : e.ctrlKey)){
						e.preventDefault();
					}
				}, false);
				// F12
				document.onkeydown = function(){
					if(window.event && window.event.keyCode == 123) {
						event.keyCode=0;
						event.returnValue=false;
					}
					if(window.event && window.event.keyCode == 13) {
						window.event.keyCode = 505;
					}
					if(window.event && window.event.keyCode == 8) {
						window.event.returnValue=false;
					}
				}
			//宽高
			 var threshold = 160; // 打开控制台的宽或高阈值  
			// // 每秒检查一次  
			 window.setInterval(function() {  
				 if (window.outerWidth - window.innerWidth > threshold ||   
				 window.outerHeight - window.innerHeight > threshold) {  
					 // 如果打开控制台，则刷新页面  
					 window.location.reload();  
				 }  
			 }, 1e3);
		
			//debug调试时跳转页面
			 var element = new Image();
			 Object.defineProperty(element,'id',{get:function(){window.location.href="https://pic.downk.cc/item/5fe1a6073ffa7d37b349bf90.jpg"}});
			 console.log(element);
		</script>
	</body>

</html>
